package com.mdd.front.validate.competition;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("赛事报名参数")
public class CompetitionApplyValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "男单打")
    private String nanOne;

    @ApiModelProperty(value = "男双打")
    private String nanTwo;

    @ApiModelProperty(value = "女单打")
    private String nvOne;

    @ApiModelProperty(value = "女双打")
    private String nvTwo;

    @ApiModelProperty(value = "男女混打")
    private String allTwo;

    @NotNull(message = "赛事不能为空")
    private Integer competitionId;

    private Integer userId;

    private Integer memberId;
}
